package com.itheima.manager.entry;

import com.itheima.manager.controller.StudentControll;
import com.itheima.manager.service.StudentService;

import java.util.Scanner;

public class StudentMangerEntry {
    public static void main(String[] args) {
        while(true){System.out.println("------黑马管理系统------");
            System.out.println("1 学生管理系统");
            System.out.println("2 老师管理系统");
            System.out.println("3 退出");
            Scanner sc = new Scanner(System.in);
            int choice = sc.nextInt();

            switch (choice){
                case 1:
                    StudentControll stucon= new StudentControll();
                    stucon.start();
                    break;
                case 2:
                    System.out.println("2 老师管理系统");
                    break;
                case 3:
                    System.out.println("再会");
                    System.exit(0);
                default:
                    System.out.println("输出有误!");
                    break;
            }}

    }
}
